Задача с кодом. ASCII-код символа в другом регистре
Создайте функцию, которая будет принимать в качестве аргумента единичный символ и возвращать код такого же символа, но в другом регистре.
Примеры: код символа "A" - 65 код символа "a" - 97 counterpartCharCode("A") ➞ 97 counterpartCharCode("a") ➞ 65
Примечания: - Аргумент всегда будет единичным символом. - Не все символы имеют регистр (например, цифры). Если перевести символ в другой регистр невозможно, функция должна вернуть код самого символа.
Задача с кодом. ASCII-код символа в другом регистре
Создайте функцию, которая будет принимать в качестве аргумента единичный символ и возвращать код такого же символа, но в другом регистре.
Примеры: код символа "A" - 65 код символа "a" - 97 counterpartCharCode("A") ➞ 97 counterpartCharCode("a") ➞ 65
Примечания: - Аргумент всегда будет единичным символом. - Не все символы имеют регистр (например, цифры). Если перевести символ в другой регистр невозможно, функция должна вернуть код самого символа.
Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.
Telegram Be The Next Best SPAC
I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.